package densetsu.model.map;

import java.util.HashMap;
import java.util.Map;

public class Maps {

	private final Map< Integer, String > levels;
	private final String prefix = System.getProperty ( "user.dir" ) + "/mapfiles/";

	public Maps ( ) {
		levels = new HashMap<> ( );
		// Initialize hashmap
		levels.put ( 1, prefix + "level1.txt" );
		levels.put ( 2, prefix + "level2.txt" );
		levels.put ( 3, prefix + "level3.txt" );
		levels.put ( 4, prefix + "level4.txt" );
		levels.put ( 5, prefix + "level5.txt" );
		levels.put ( 6, prefix + "level6.txt" );
		levels.put ( 7, prefix + "level7.txt" );
		levels.put ( 8, prefix + "level8.txt" );
		// etc...
	}

	public String getMapFileName ( int n ) {
		return levels.get ( n );
	}

}
